﻿using SqlSugar;
using System;

namespace test3
{
    /// <summary>
    /// 
    /// </summary>
    public class school
    {
        /// <summary>
        /// 
        /// </summary>
        public school()
        {
        }

        private System.Int64 _ID;
        /// <summary>
        /// 
        /// </summary>
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
        public System.Int64 ID { get { return this._ID; } set { this._ID = value; } }

        private System.String _SchoolID;
        /// <summary>
        /// 学校编码
        /// </summary>
        public System.String SchoolID { get { return this._SchoolID; } set { this._SchoolID = value?.Trim(); } }

        private System.String _SchoolName;
        /// <summary>
        /// 学校名称
        /// </summary>
        public System.String SchoolName { get { return this._SchoolName; } set { this._SchoolName = value?.Trim(); } }

        private System.String _Region;
        /// <summary>
        /// 地区编码
        /// </summary>
        public System.String Region { get { return this._Region; } set { this._Region = value?.Trim(); } }

        private System.String _Address;
        /// <summary>
        /// 地址
        /// </summary>
        public System.String Address { get { return this._Address; } set { this._Address = value?.Trim(); } }

        private System.Boolean _State;
        /// <summary>
        /// 状态
        /// </summary>
        public System.Boolean State { get { return this._State; } set { this._State = value; } }

        private System.DateTime _CreateTime;
        /// <summary>
        /// 创建时间
        /// </summary>
        public System.DateTime CreateTime { get { return this._CreateTime; } set { this._CreateTime = value; } }

        private System.String _Remark;
        /// <summary>
        /// 备注
        /// </summary>
        public System.String Remark { get { return this._Remark; } set { this._Remark = value?.Trim(); } }
    }

    public class School
    {
        public String SchoolID;
        public String SchoolName;
        public String Region;
        public String Address;
        public Boolean State;
        public DateTime CreateTime;
        public String Remark;
    }
}
